package com.example.blogdevelop.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.blogdevelop.entity.Tag;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TagMapper extends BaseMapper<Tag> {
    void deleteByBlogId(@Param("blogId") int blogId);
    List<Tag> selectByBlogId(@Param("blogId") int blogId);
}
